﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmRegister.aspx.cs" Inherits="WebApp3.frmRegister" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">

        .auto-style2 {
            height: 25px;
        }
        .auto-style3 {
            width: 331px;
            height: 25px;
        }
        .auto-style4 {
            height: 29px;
        }
        .auto-style1 {
            width: 331px;
            height: 29px;
        }
        .auto-style5 {
            width: 100%;
            margin-top: 54px;
        }
        .auto-style6 {
            height: 40px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    
    </div>
        <div style="height: 81px; width: 746px; background-image: url('/tupian/tops.png'); margin-left: 271px; margin-top: 19px;">
    <div style="background-image: url('/tupian/di.jpg'); height: 65px; width: 755px; position: absolute; z-index: auto; top: 869px; left: 276px; text-align: left;">
        &nbsp;&nbsp;
        <asp:Timer ID="Timer1" runat="server" Interval="1000">
        </asp:Timer>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                &nbsp;<br />
                <asp:Label ID="lblInfo" runat="server" Font-Size="Smaller" ForeColor="#FF6600" style="text-align: justify"></asp:Label>
                <br />
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
            </Triggers>
        </asp:UpdatePanel>
        <br />
        <br />
    </div>
            <table style="width: 108%; height: 61px; margin-top: 3px;">
                <tr>
                    <td class="auto-style2"></td>
                    <td class="auto-style2"></td>
                    <td class="auto-style3"></td>
                </tr>
                <tr>
                    <td class="auto-style4"></td>
                    <td class="auto-style4"></td>
                    <td class="auto-style1" style="text-align: center; color: #FFFFFF; font-weight: normal; font-size: 3px;">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; made by 陈桂芳</td>
                </tr>
            </table>
        </div>
        <div style="border-style: inset; border-color: #0000FF; position: absolute; z-index: auto; top: 99px; left: 281px; width: 738px; height: 762px; background-color: #FFFFFF; text-align: center;">
            <table class="auto-style5">
                <tr>
                    <td colspan="2" style="font-size: medium; color: #666666; text-align: center; font-weight: bolder;">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/tupian/images/Register_ts.jpg" />
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">用户名：</td>
                    <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                        <asp:TextBox ID="txt_user" runat="server"></asp:TextBox>
&nbsp;<asp:Label ID="lblYonghu" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">性别：</td>
                    <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                        <asp:RadioButton ID="rb_boy" runat="server" Text="男" GroupName="sex" />
&nbsp;
                        <asp:RadioButton ID="rb_girl" runat="server" Text="女" GroupName="sex" />
&nbsp;&nbsp;&nbsp;&nbsp; </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">选择头像：</td>
                    <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                        <asp:DropDownList ID="ddl_head" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddl_head_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:Image ID="img_head" runat="server" Height="24px" Width="24px" />
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">密码：</td>
                    <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                        <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox2" Display="Dynamic" ErrorMessage="密码不能为空，且密码长度为6到12位的字母数字点和下划线组成" ForeColor="Red" ValidationExpression="[a-z|A-Z|0-9|.|_]{6,12}" Font-Size="Small"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;" class="auto-style2">确认密码：</td>
                    <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;" class="auto-style2">
                        <asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
&nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2" ControlToValidate="TextBox3" ErrorMessage="密码不同，请重新输入！" ForeColor="Red"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;" class="auto-style2">qq邮箱：</td>
                    <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;" class="auto-style2">
                        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox4" ErrorMessage="电子邮件格式不正确！" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">个性签名：</td>
                    <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                        <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
&nbsp;
                        </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: center; font-weight: bolder;" colspan="2">
                        <asp:CheckBox ID="cb_tk" runat="server" AutoPostBack="True" Checked="True" OnCheckedChanged="cb_tk_CheckedChanged" Text="我已阅读并接受“服务条款”" />
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #666666; text-align: center; font-weight: bolder;" colspan="2">
                        <asp:TextBox ID="TextBox6" runat="server" ForeColor="#CC3300" Height="274px" TextMode="MultiLine" Width="467px" Font-Bold="True" Font-Size="Large">请耐心读完
进入本网站留言时,请您遵守本网站的以下规则:
1、请尊重网上道德，遵守《全国人大常委会关于
  维护互联网安全的决定》及中华人民共和国其
  他各相关法律法规。
2、严禁发布任何有关危害国家安全、破坏民族团
  结、破坏国家宗教政策、破坏社会稳定、侮辱、
  诽谤、教唆、色情、暴力等内容的信息及链接
3、严禁发表任何无关的信息及链接；严禁发布任
  何商业广告及链接。违者将在第一时间删除。
4、您应承担一切因您的行为而直接或间接导致的
  民事、行政直至追究刑事法律责任。
5、管理员有权保留或随时删除用户评论中的任何
  内容。
                        谢谢配合！！</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="font-size: medium; color: #666666; text-align: center; font-weight: bolder;">&nbsp;<asp:ImageButton ID="btn_createuser" runat="server" ImageUrl="~/tupian/images/zhuce.jpg" OnClick="btn_createuser_Click" />
                    &nbsp;&nbsp;
                        <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/tupian/images/fanhui.jpg" OnClick="ImageButton2_Click" Height="32px" Width="96px" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="font-size: medium; color: #CC3300; text-align: left; font-weight: bolder;">请牢记下面注册信息：</td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #FF0066; text-align: right; font-weight: bolder;">用户名：</td>
                    <td style="font-size: medium; color: #666666; text-align: left; font-weight: bolder;">
                        <asp:Label ID="lblUserName" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #FF0066; text-align: right; font-weight: bolder;">密码：</td>
                    <td style="font-size: medium; color: #666666; text-align: left; font-weight: bolder;">
                        <asp:Label ID="lblPassword" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: medium; color: #FF0066; text-align: left; font-weight: bolder;" colspan="2">
                        <asp:Label ID="lblOk" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                </table>
            <br />
        </div>
    </form>
</body>
</html>
